package net.jumpengine.bean;

import net.jumpengine.inter.IAction;
import net.jumpengine.inter.IClick;

/**
  * 实现了点击的Base
 * <br /><br />
 * <b>作者:&nbsp;</b>张天文 <br />
 * <b>日期:&nbsp;</b>2020年3月7日 下午7:58:14<br />
 * @date
 */
public abstract class ClickBase extends Base implements IClick {
	protected IAction action;
	
	public ClickBase(int x, int y, int width, int height, int index) {
		super(x, y, width, height, index);
	}

	public ClickBase(int x, int y, int width, int height) {
		super(x, y, width, height);
	}

	@Override
	public IAction getAction() {
		return action;
	}
	public void setAction(IAction action) {
		this.action=action;
	}

}
